Optimal. Leaf size=73 \[ \frac{a x^{13}}{13}+\frac{2 a x^{10}}{5}+\frac{6 a x^7}{7}+a x^4+a x+\frac{b x^{14}}{14}+\frac{4 b x^{11}}{11}+\frac{3 b x^8}{4}+\frac{4 b x^5}{5}+\frac{b x^2}{2} \]
[Out]
_______________________________________________________________________________________
Rubi [A] time = 0.140106, antiderivative size = 73, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 1, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.048 \[ \frac{a x^{13}}{13}+\frac{2 a x^{10}}{5}+\frac{6 a x^7}{7}+a x^4+a x+\frac{b x^{14}}{14}+\frac{4 b x^{11}}{11}+\frac{3 b x^8}{4}+\frac{4 b x^5}{5}+\frac{b x^2}{2} \]
Antiderivative was successfully verified.
[In] Int[(1 + x)^4*(a + b*x)*(1 - x + x^2)^4,x]
[Out]
_______________________________________________________________________________________
Rubi in Sympy [F] time = 0., size = 0, normalized size = 0. \[ \frac{a x^{13}}{13} + \frac{2 a x^{10}}{5} + \frac{6 a x^{7}}{7} + a x^{4} + \frac{b x^{14}}{14} + \frac{4 b x^{11}}{11} + \frac{3 b x^{8}}{4} + \frac{4 b x^{5}}{5} + b \int x\, dx + \int a\, dx \]
Verification of antiderivative is not currently implemented for this CAS.
[In] rubi_integrate((1+x)**4*(b*x+a)*(x**2-x+1)**4,x)
[Out]
_______________________________________________________________________________________
Mathematica [A] time = 0.00439913, size = 73, normalized size = 1. \[ \frac{a x^{13}}{13}+\frac{2 a x^{10}}{5}+\frac{6 a x^7}{7}+a x^4+a x+\frac{b x^{14}}{14}+\frac{4 b x^{11}}{11}+\frac{3 b x^8}{4}+\frac{4 b x^5}{5}+\frac{b x^2}{2} \]
Antiderivative was successfully verified.
[In] Integrate[(1 + x)^4*(a + b*x)*(1 - x + x^2)^4,x]
[Out]
_______________________________________________________________________________________
Maple [A] time = 0.004, size = 58, normalized size = 0.8 \[ ax+{\frac{b{x}^{2}}{2}}+a{x}^{4}+{\frac{4\,b{x}^{5}}{5}}+{\frac{6\,a{x}^{7}}{7}}+{\frac{3\,b{x}^{8}}{4}}+{\frac{2\,a{x}^{10}}{5}}+{\frac{4\,b{x}^{11}}{11}}+{\frac{a{x}^{13}}{13}}+{\frac{b{x}^{14}}{14}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] int((1+x)^4*(b*x+a)*(x^2-x+1)^4,x)
[Out]
_______________________________________________________________________________________
Maxima [A] time = 0.685357, size = 77, normalized size = 1.05 \[ \frac{1}{14} \, b x^{14} + \frac{1}{13} \, a x^{13} + \frac{4}{11} \, b x^{11} + \frac{2}{5} \, a x^{10} + \frac{3}{4} \, b x^{8} + \frac{6}{7} \, a x^{7} + \frac{4}{5} \, b x^{5} + a x^{4} + \frac{1}{2} \, b x^{2} + a x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(x^2 - x + 1)^4*(x + 1)^4,x, algorithm="maxima")
[Out]
_______________________________________________________________________________________
Fricas [A] time = 0.235616, size = 1, normalized size = 0.01 \[ \frac{1}{14} x^{14} b + \frac{1}{13} x^{13} a + \frac{4}{11} x^{11} b + \frac{2}{5} x^{10} a + \frac{3}{4} x^{8} b + \frac{6}{7} x^{7} a + \frac{4}{5} x^{5} b + x^{4} a + \frac{1}{2} x^{2} b + x a \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(x^2 - x + 1)^4*(x + 1)^4,x, algorithm="fricas")
[Out]
_______________________________________________________________________________________
Sympy [A] time = 0.12171, size = 70, normalized size = 0.96 \[ \frac{a x^{13}}{13} + \frac{2 a x^{10}}{5} + \frac{6 a x^{7}}{7} + a x^{4} + a x + \frac{b x^{14}}{14} + \frac{4 b x^{11}}{11} + \frac{3 b x^{8}}{4} + \frac{4 b x^{5}}{5} + \frac{b x^{2}}{2} \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((1+x)**4*(b*x+a)*(x**2-x+1)**4,x)
[Out]
_______________________________________________________________________________________
GIAC/XCAS [A] time = 0.258263, size = 77, normalized size = 1.05 \[ \frac{1}{14} \, b x^{14} + \frac{1}{13} \, a x^{13} + \frac{4}{11} \, b x^{11} + \frac{2}{5} \, a x^{10} + \frac{3}{4} \, b x^{8} + \frac{6}{7} \, a x^{7} + \frac{4}{5} \, b x^{5} + a x^{4} + \frac{1}{2} \, b x^{2} + a x \]
Verification of antiderivative is not currently implemented for this CAS.
[In] integrate((b*x + a)*(x^2 - x + 1)^4*(x + 1)^4,x, algorithm="giac")
[Out]